#pragma once


// LoginDlg dialog
#include "TransparentStatic2.h"
#include "Client.h"
#include "Helper.h"
#include "Message.h"
#include "MySocket.h"
class LoginDlg : public CPropertyPage
{
	DECLARE_DYNAMIC(LoginDlg)
private:
	CTransparentStatic2 m_userNameLb;
	CTransparentStatic2 m_passWordLb;
	CEdit m_userNameEdit;
	CEdit m_passWordEdit;
public:
	LoginDlg();
	virtual ~LoginDlg();
	
	virtual void OnFinalRelease();
	bool checkUser();
// Dialog Data
	enum { IDD = IDD_LOGIN };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
public:
	afx_msg void OnBnClickedLoginBt();
	afx_msg void OnBnClickedRegisterBt();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnEnSetfocusPassTxt();
};
